﻿var m_Menu;

function get_Menu()
{
    if (m_Menu == null)
        m_Menu = dnn.controls.controls[dnn.getVar('Page_NS') + 'NavMenu'];
    return m_Menu;
}

function updateMenu()
{
    var menu = get_Menu();
    menu.animation = new Number($get('ddlAnimation').value);
    menu.easingType = new Number($get('ddlEasingType').value);
    menu.easingDir = new Number($get('ddlEasingDir').value);
    menu.animationLen = $get('txtLength').value;
    menu.animationInterval = $get('txtInterval').value;
        
}

